home *** CD-ROM | disk | FTP | other *** search
- On Thu, 19 Jan 1995, jason.wroe wrote:
-
- > First of all Hi again from Jay :)
- >
- > Second how are Amos sprite banks stored?
- >
-
- Okay this is from memory so be careful...
-
- dc.b AmSp <-- Heh I'm a Sprite Bank?
- dc.w length <-- # Of Sprites
- FOR I=1 to LENGTH
- dc.w depth
- dc.w width (in words ie. width*16=pixels)
- dc.w height
- dc.w x_hot
- dc.w y_hot
- dc.b image_data -> size = depth*(width*16)*height/8
- NEXT I
-
- if the Sprite is empty -> depth = 0
-
-
-
-
- > I want to know this because I want either a C program or an Amos program
- > to convert an Amos sprite bank into a format that a C program could
- > read and display the sprites.
- >
- > The sprite are just 16x16 pixels and in 32 colours !
- >
- > Is it possible to do this in either C or AMOS?
- >
-
- yes... both...
-
- mike
-
- > _/ _/ _/ _/ _/ _/
- > _/ _/ _/ _/ _/
- > _/ _/ _/_/ _/
- > _/_/ _/ _/ _/
- >
- >
-
-